package icu.groot.alan.service;

import icu.groot.alan.entity.Report;
import icu.groot.alan.entity.ReportExport;
import icu.groot.alan.util.R;

import java.util.List;
import java.util.Map;

public interface ReportService {
    R add(int userCode, int announceId, double temperature, String oneselfHealth, String oneselfHealthDetails, String route, String address, String familyHealth, String familyHealthDetails, String anomaly);

    int checkAdd(int userCode, int announceId);

    Map<String, List<ReportExport>> reportExcel(int announceId);
}
